package object.package1;

public class Test {
    public static void main(String[] args) {
        //内置类型，赋值给包装类
       // Integer i = 10;
        //包装类，赋值给内置类型、自动拆箱
       // int n=i;

//        Integer i = 10;
//        Integer j = 20;
//        System.out.println(i+j);

        Integer a = 127;
        Integer b = 127;
        Integer c = 128;
        Integer d = 128;
        System.out.println(a == b);
        System.out.println(c == d);

    }
}
